From: Florian Fainelli Date: Mon, 12 Jan 2009 18:38:54 +0000 (+0000) Subject: fxload requires kernel headers to compile X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=3cffe84cab82ce77db2a3cc7fa5cf704dd288321;p=openwrt%2Fsvn-archive%2Fpackages.git fxload requires kernel headers to compile SVN-Revision: 13993 --- diff --git a/utils/fxload/Makefile b/utils/fxload/Makefile index 37f2ca460..8e3490cf0 100644 --- a/utils/fxload/Makefile +++ b/utils/fxload/Makefile @@ -6,6 +6,7 @@ # include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=fxload PKG_VERSION:=2002_04_11 @@ -29,7 +30,7 @@ endef define Build/Compile $(call Build/Compile/Default, \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include" \ ) endef